package com.modouyu.demo211.demo211.service;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: modouyu
 * @Date: 2018/7/11 08:02
 * @Description:
 * @Email: yangcb@daochunfin.com
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "com.modouyu.posts[0]")
public class PostInfo {


    private String title;
    private String content;


}
